package com.example.novelweb.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.novelweb.model.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.novelweb.model.vo.CommentVO;
import com.example.novelweb.model.vo.NovelVO;
import org.apache.ibatis.annotations.Param;

/**
* @author PERSON
* @description 针对表【comment(用户评论)】的数据库操作Mapper
* @createDate 2025-02-01 19:00:08
* @Entity com.example.novelweb.model.entity.Comment
*/
public interface CommentMapper extends BaseMapper<Comment> {

  Page<CommentVO> pageAllRootByNovelId(Page<CommentVO> page
      , @Param(Constants.WRAPPER) Wrapper<CommentVO> queryWrapper);

}




